home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12282 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.2 KB  |  60 lines

  1. Newsgroups: comp.lang.c++,comp.lang.eiffel,comp.lang.c,comp.object,comp.software-eng
  2. Path: assip.csasyd!news
  3. From: donh@syd.csa.com.au (Don Harrison)
  4. Subject: Re: Portability of code & skills (Beware of "C" Hackers etc)
  5. Message-ID: <DoI5Ao.AyJ@assip.csasyd.oz>
  6. Sender: news@assip.csasyd.oz
  7. Reply-To: donh@syd.csa.com.au
  8. Organization: CSC Australia
  9. References: <4ikb6kINN1is@mayne.ugrad.cs.ubc.ca>
  10. Date: Tue, 19 Mar 1996 06:42:23 GMT
  11.  
  12. Kazimir Kylheku writes:
  13.  
  14. :In article <DoG3HE.48E@assip.csasyd.oz>,
  15. :Don Harrison <donh@syd.csa.com.au> wrote:
  16. : >Graham Perkins writes:
  17.  
  18. [...]
  19.  
  20. : >...  So if you want your new language to be a success,
  21. : >:then give it away for ten years, preferably with a free O.S. and all source
  22. : >:code as well.  It's difficult to see many other reasons for widespread 
  23. : >:adoption of C and Unix.
  24. : >
  25. : >Aside from the historical argument, could another reason be that people
  26. : >love power and permissive languages such as C give such power? The trouble
  27. : >is, of course, that most people don't handle power responsibly because we
  28. : >are selfish by nature. Our short-sighted selfishness is manifested in 
  29. : >programming as hacking.
  30. :
  31. :What does selfishness have to do with anything? It's just a matter of using
  32. :undefined and implementation defined behavior. The problem is laziness to learn
  33. :the language properly.
  34.  
  35. I'm thinking of those who hack because they expect they won't be around to 
  36. maintain their handiwork. It is selfishness because they don't care about the 
  37. person maintaining it. Call it laziness, if you prefer.
  38.  
  39. Those who hack knowing they are the maintainer are just fools.
  40.  
  41. :The C language is not as permissive as you may think: it just leaves it up to
  42. :the implementations to give meaning to many operations, while it perfectly
  43. :defines others.
  44. :
  45. :Programmers who are not aware of these pitfalls end up hacking out code that
  46. :is not portable.
  47. :
  48. :Another thing is that C compilers don't provide enough run-time checking,
  49. :because the standard doesn't require them to, but that's another issue
  50. :altogether from permissiveness inherent to the language.
  51.  
  52. Well, dynamic permissiveness is still a characteristic of the language. Can't
  53. comment on static permissiveness wrt C.
  54.  
  55. Don.
  56.  
  57.  
  58.  
  59.  
  60.